package com.lagou.bean;


import com.lagou.service.TpnService;

import org.apache.dubbo.config.annotation.Reference;
import org.springframework.stereotype.Component;

@Component
public class ComsumerComponet {

    @Reference
    private TpnService tpnService;

    public String methodA(String name){
        return tpnService.methodA(name);
    }

    public String methodB(String name){
        return tpnService.methodB(name);
    }

    public String methodC(String name){
        return tpnService.methodC(name);
    }

}